package org.ims.inv.model.card;

import java.util.Date;

import org.ims.inv.model.system.ModelAppDictionary;
import org.ims.inv.model.system.ModelAppUser;

import cn.trymore.core.model.ModelBase;

/**
 * Model: 名片基类
 * 
 * @author x36zhao
 *
 */
public class ModelBaseCard
extends ModelBase
{

	private static final long serialVersionUID = -769450130095308135L;
	
	/**
	 * 职务
	 */
	private String jobTitle;
	
	/**
	 * 办公电话
	 */
	private String officePhone;
	
	/**
	 * 手机
	 */
	private String mobilePhone;
	
	/**
	 * 邮箱
	 */
	private String email;
	
	/**
	 * 地址
	 */
	private String address;
	
	/**
	 * 所属行业
	 */
	private ModelAppDictionary industry;
	
	/**
	 * 所属项目编号
	 */
	private String projectNo;
	
	/**
	 * 创建时间
	 */
	private Date creationTime;
	
	/**
	 * 最后更新时间
	 */
	private Date lastModifiedTime;
	
	/**
	 * 状态
	 */
	private Integer status;
	
	/**
	 * 登记人
	 */
	private ModelAppUser recorder;
	
	/**
	 * 登记人姓名
	 */
	private String recorderName;
	
	/**
	 * 所属行业文字
	 */
	private String industryName;
	
	public String getJobTitle()
	{
		return jobTitle;
	}

	public void setJobTitle(String jobTitle)
	{
		this.jobTitle = jobTitle;
	}

	public String getOfficePhone()
	{
		return officePhone;
	}

	public void setOfficePhone(String officePhone)
	{
		this.officePhone = officePhone;
	}

	public String getMobilePhone()
	{
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone)
	{
		this.mobilePhone = mobilePhone;
	}

	public String getEmail()
	{
		return email;
	}

	public void setEmail(String email)
	{
		this.email = email;
	}

	public ModelAppDictionary getIndustry()
	{
		return industry;
	}

	public void setIndustry(ModelAppDictionary industry)
	{
		this.industry = industry;
	}

	public String getProjectNo()
	{
		return projectNo;
	}

	public void setProjectNo(String projectNo)
	{
		this.projectNo = projectNo;
	}

	public Date getCreationTime()
	{
		return creationTime;
	}

	public void setCreationTime(Date creationTime)
	{
		this.creationTime = creationTime;
	}

	public Date getLastModifiedTime()
	{
		return lastModifiedTime;
	}

	public void setLastModifiedTime(Date lastModifiedTime)
	{
		this.lastModifiedTime = lastModifiedTime;
	}

	public Integer getStatus()
	{
		return status;
	}

	public void setStatus(Integer status)
	{
		this.status = status;
	}

	public ModelAppUser getRecorder()
	{
		return recorder;
	}

	public void setRecorder(ModelAppUser recorder)
	{
		this.recorder = recorder;
	}

	public String getRecorderName()
	{
		return recorderName;
	}

	public void setRecorderName(String recorderName)
	{
		this.recorderName = recorderName;
	}

	public String getAddress()
	{
		return address;
	}

	public void setAddress(String address)
	{
		this.address = address;
	}

	public String getIndustryName()
	{
		if (this.industry != null)
		{
			this.industryName = this.industry.getDictKey();
		}
		
		return industryName;
	}

}
